package com.tron.dobest.elasticsearch;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 描述：通过配置文件获取索引id
 *
 * @author TRON
 * @since 2020-03-06
 */
@Component
@Data
public class EsAttribute {
    @Value("${indexName[0]}")
    private String indexName;
}
